package club.caihappy.store.service.ex;

/**
 * Created by DELL on 2022/2/27
 **/
//业务层异常的基类,业务层异常都是运行时异常 throw new  ServiceException("业务层产生未知的异常");
public class ServiceException extends RuntimeException{
    public ServiceException() {
        super();
    }

    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }

    public ServiceException(Throwable cause) {
        super(cause);
    }

    protected ServiceException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
